import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/home'
import table from '@/components/table'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'home',
    component: home,
    children: [{
      path: '/table',
      name: 'table',
      component: table
    }]
  }]
})
